<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title><?php echo page_menu_title(); ?><?php echo bread_crumbs(' &raquo; ', true); ?><?php echo get_setting('Site Name'); ?></title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="description" content="<?php echo get_setting('Meta Description'); ?>" />
		<meta name="keywords" content="<?php echo get_setting('Meta Keywords'); ?>" />
		<meta name="author" content="<?php echo get_setting('Author'); ?>" />
		<link rel="stylesheet" type="text/css" href="<?php echo $theme_url; ?>_css/main.css" title="Default Main.css" media="screen,projection" />
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
		<script type="text/javascript" src="<?php echo $theme_url; ?>_js/newExcanvas.js"></script>
		<script type="text/javascript" src="<?php echo $theme_url; ?>_js/jquery.corners2.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				//$(".sidebar-block").corners("9px");
				$(".sidebar-block").corner("9px");
				$("#nav a").hover(function () { $(this).parent().addClass('hover'); }, function () { $(this).parent().removeClass('hover'); });//.wrapInner('<span><span></span></span>');
			});
		</script>
	<?php plugin('styles'); ?>
	<?php plugin('scripts'); ?>
	</head>

	<body>
		<div id="wrapper">
			<div class="gutter">
				<div id="header">
					<div class="gutter">
						<h1><?php echo get_setting('Site Name'); ?></h1>
					</div>
				</div>
				<div id="nav">
					<div class="gutter">
						<?php echo navigation("\n<ul>\n%s\n</ul>\n", "\n<ul class='subMenu'>\n%s\n</ul>\n"); ?>
					</div>
				</div>
				<div id="banner">
					<div class="gutter">
						<h2>Your house COULD BE SOLD in 7 days</h2>
					</div>
				</div>
				<div id="contentSidebar">
					<div class="sgutter">
						<div id="sidebar">
							<div class="gutter">
								<?php echo sidebar('<div class="sidebar-block">%s</div>','<h4 class="block-head">%1$s</h4><div class="block-content">%2$s</div>', array("\n<ul id='nav'>\n%s\n</ul>\n"), array("\n<ul id='second-nav'>\n%s\n</ul>\n")); ?>
							</div>
						</div>
						<div id="content">
							<div id="content-topper"></div>
							<div class="gutter">
								<div class="content">
									<h3><?php echo page_title(); ?></h3>
									<?php echo page_content(); ?>
								</div>
								<div id="footer">
									<div class="gutter">
										<p><?php echo get_setting('Footer'); ?></p>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
